<html>
    <head>
        <link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
    </head>
  <body>
    {% for link in links %}
		<div>
      {% if link.submitter %}
        <b>{{ link.submitter }}</b>
      {% else %}
        <b>Anon</b>
      {% endif %}
      {{ link.title }} <a href="{{ link.link|escape }}">{{ link.link|escape }}</a>
	  </div>
    {% endfor %}

    <hr>
    
    <form action="/submit" method="post">
      <div><textarea name="title" cols="60"></textarea></div>
      <div><textarea name="content" rows="2" cols="60"></textarea></div>
      <div><input type="submit" value="Submit Link"></div>
    </form>

    <a href="{{ url }}">{{ url_linktext }}</a>

  </body>
</html>
